package com.xd.core.business.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 客户工单关联表
 * </p>
 *
 * @author ZX
 * @since 2025-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ExcelIgnoreUnannotated
public class OutInfoPageAppVo implements Serializable {

    @ApiModelProperty(value = "进件单号")
    private Integer incomingId;

    @ApiModelProperty(value = "放款单号")
    private Integer outId;

    @ApiModelProperty(value = "放款状态")
    private String status;

    @ExcelProperty(value = "状态详情")
    @ApiModelProperty(value = "状态详情")
    private String statusRemark;

    @ExcelProperty(value = "贷款利率")
    @ApiModelProperty(value = "贷款利率")
    private String rate;

    @ExcelProperty(value = "客户姓名")
    @ApiModelProperty(value = "客户姓名")
    private String name;

    @ExcelProperty(value = "身份证")
    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ExcelProperty(value = "客户手机号")
    @ApiModelProperty(value = "客户手机号")
    private String phone;

    @ExcelProperty(value = "进件机构")
    @ApiModelProperty(value = "进件机构")
    private String incomingInstitution;

    @ExcelProperty(value = "贷款期限")
    @ApiModelProperty(value = "贷款期限")
    private String term;

    @ExcelProperty(value = "申请提现金额")
    @ApiModelProperty(value = "申请提现金额")
    private BigDecimal outLoan;

    @ExcelProperty(value = "更新时间")
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date updateTime;

    @ExcelProperty(value = "申请提现时间")
    @ApiModelProperty(value = "申请提现时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "订单状态(0--启用,1--停用)")
    private String isEnable;

    @ExcelProperty(value = "订单状态")
    @ApiModelProperty(value = "订单状态(0--启用,1--停用)")
    private String isEnableRemark;

    @ExcelProperty(value = "还款方式")
    @ApiModelProperty(value = "还款方式")
    private String loanMethod;

    @ApiModelProperty(value = "银行预留手机号")
    private String bankPhone;

    @ExcelProperty(value = "贷款用途")
    @ApiModelProperty(value = "贷款用途")
    private String used;

    @ExcelProperty(value = "是否代扣")
    @ApiModelProperty(value = "是否代扣")
    private String isWithhold;

}
